#ifndef __UM_SERVER_CONFIG_H__
#define __UM_SERVER_CONFIG_H__

#include "umServer.h"
#include "umapi_os_list.h"
#include "httpTools.h"

typedef struct
{
	UM_CHAR protol[40];
	struct umapi_list_head head;
	struct umapi_list_head h0;
}ServerNodeParam;
typedef struct
{

	struct umapi_list_head params;
}ServerNode;

typedef struct
{
	UM_S32 size;
	ServerNode servers;
}ServerConfig;


typedef struct
{
	UM_CHAR prefixName[20];
	UM_CHAR appPulicHost[20];
	UM_CHAR vohandlePath[80];
	UM_CHAR voHost[20];
	UM_CHAR aoHost[20];
	UM_CHAR hlsHost[20];
	UM_U16 voPort;
	UM_U16 aoPort;
	UM_U16 hlsPort;
	UM_U16 r1;
	UM_CHAR aohandlePath[80];
	UM_CHAR hlshandlePath[80];
}S_SYSTEM_DATA;

extern S_SYSTEM_DATA gSystemData;
#endif
